import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router/index'
import globalComponent from './utils/globalComponent'
// 暗黑模式
import 'element-plus/theme-chalk/dark/css-vars.css'
import store from './store'
// 路由鉴权
import '@/utils/permission'
// 全局css
import './style.css'

import UndrawUi from 'undraw-ui'
import 'undraw-ui/dist/style.css'





const app = createApp(App)
app.use(UndrawUi)
app.use(ElementPlus)
app.use(router)
app.use(store)
app.use(globalComponent)
app.mount('#app')
